package cn.edu.nyist.mapper;

import cn.edu.nyist.entity.RentHouse;
import cn.edu.nyist.entity.SellHouse;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

/**
 * (SellHouse)表数据库访问层
 *
 * @author makejava
 * @since 2021-03-21 17:55:12
 */
public interface SellHouseMapper {
    List<SellHouse> queryList(Map<String, Object> paramMap);

    List<SellHouse> queryListAreaDesc(Map<String, Object> paramMap);

    List<SellHouse> queryListPriceAsc(Map<String, Object> paramMap);

    Integer queryCount(Map<String, Object> paramMap);


    List<SellHouse> queryListBelongUser(Map<String, Object> paramMap);

    Integer queryCountBelongUser(Map<String, Object> paramMap);

    int insertSellHouse(SellHouse sellHouse);

    SellHouse selectById(Integer id);

    int delBySellHouseIds(List<Integer> ids);

    int editBySellHouse(SellHouse sellHouse);

    SellHouse selectByRegion(String region);
}